<template>
  <a class="u-tag u-btn2 clearfix" href="javascript:;"
    ><i class="u-btn2">{{ txt }}</i></a
  >
</template>

<script>
export default {
  name: "ClassLabel",
  props: { txt: { type: String } },
};
</script>

<style scoped lang="less">
.u-tag {
  float: left;
  margin: 0px 10px 3px 0;
  padding: 0 10px 0 0;
  height: 22px;
  line-height: 22px;
  text-shadow: 0 1px #fdfdfd;
  background-position: right -27px;
  color: #777;
  text-decoration: none;
  i {
    position: relative;
    float: left;
    padding: 0 3px 0 13px;
    height: 22px;
    line-height: 22px;
    background-position: 0 0;
    zoom: 1;
  }
}
</style>
